package com.guigu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.domain.dto.SubjectInfoDTO;
import com.guigu.domain.entity.SubjectInfo;
import com.guigu.domain.vo.SubjectInfoVO;
import com.guigu.result.PageResult;

import java.util.List;

/**
 * 题目信息表(SubjectInfo)表服务接口
 *
 * @author makejava
 * @since 2024-06-02 19:28:32
 */
public interface ISubjectInfoService extends IService<SubjectInfo> {

    /**
     * 条件查询数量
     * @param subjectInfo
     * @param categoryId
     * @param labelId
     * @return
     */
    int countByCondition(SubjectInfo subjectInfo, Long categoryId, Long labelId);

    /**
     * 分页查询
     * @param subjectInfo
     * @param labelId
     * @param categoryId
     * @param start
     * @param pageSize
     * @return
     */
    List<SubjectInfo> queryPage(SubjectInfo subjectInfo, Long labelId, Long categoryId, int start, Integer pageSize);
}
